﻿@{
    ViewBag.Title = "配置跟踪信息";
    Layout = "~/Views/Shared/_Main.cshtml";
}
@section Head{
    <style>
        .tb1
        {
            width: 160px;
            border: 1px;
            background: #99BBE8;
            line-height: 25px;
            font-weight: bold;
            color: #ffffff;
            padding-left: 10px;
            cursor: pointer;
        }
        .tb2
        {
            width: 160px;
            border: 1px;
            background: #eee;
            line-height: 25px;
            padding-left: 10px;
            cursor: pointer;
        }
        .pagTable td
        {
            padding-left: 3px;
        }
        #ViewSreach
        {
            display: none;
            width: 500px;
            height: 200px;
            position: absolute;
            top: 35px;
            left: 150px;
        }
        #sarea
        {
            background-color: #ffffff;
            border: #ccc 1px solid;
            height: 200px;
            overflow-y: scroll;
        }
    </style>
    <script type="text/javascript">
        var UrlArray = $.getUrlArray();
        $(function () {
            initSourceTableData();
        });

        function initSourceTableData(sortField, sortBy, query) {
            $.ajax({
                type: "POST",
                url: "/SystemConfiguration/GetPathData/",
                data: { id: UrlArray["id"], fromType: UrlArray["fromType"], getAll: UrlArray["getAll"], dbName: encodeURI(UrlArray["dbName"]), order: sortField, sort: sortBy },
                datatype: "text/plain",
                async: true,
                success: function (result) {
                    if (result.Success) {
                        $("#divSoutceTableData").html(result.Data); 
                    }
                    else {
                        $("#msg").html(result.Message);
                    }
                }
            });
        } 
    </script>
}
<div style="margin: 5px; height: 490px;">
    <table class="listTitle">
        <tbody>
            <tr>
                <td width="15">
                    <img src="/images/filesave.png">
                </td>
                <td width="300">
                    跟踪信息
                </td>
                <td align="right">
                </td>
            </tr>
        </tbody>
    </table>
    <div id="tab2" style="width: 890px; height: 470px; overflow: scroll;">
        <div id="divSoutceTableData">
        </div>
        <div id="loading" class="loading">
            <img src="/Images/tree_loading.gif" />
        </div>
        <div id="msg">
        </div>
    </div>
</div>
